package com.example.demo.mapper.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Table;

@Data
@Table(name="badge_view")
public class BadgeView {
    private int badgeId;
    private String badgeName;
    private String description;
    private int type;
    private String imageUrl;
    private int attributeId;
    private String attributeName;
    private int attributeValue;
    private int badgeNumber;
    private String requirement;
    private int taskId;
    private int taskType;
    private String taskName;

    @ApiModelProperty("当前页码")
    private Integer pageNum;
    @ApiModelProperty("页码尺寸")
    private Integer pageSize;
}
